package com.ihr360.payroll.model.type;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ihr360.commons.model.annotation.EnumData;
import com.ihr360.commons.serializer.jackson.EnumDataSerializer;

/** 考勤数据来源 */
@EnumData
@JsonSerialize(using = EnumDataSerializer.class)
public enum AttendanceSourceType {

    TAKE_NUMBER("取数", "take Number"),
    IMPORT("导入", "import");

    private String title;

    private String engTitle;

    AttendanceSourceType(String title, String engTitle) {
        this.title = title;
        this.engTitle = engTitle;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getEngTitle() {
        return engTitle;
    }

    public void setEngTitle(String engTitle) {
        this.engTitle = engTitle;
    }
}
